package com.ruoyi.classai.domain.dto;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author lcj
 * @date 2025-03-07
 */
@Data
@Schema(description="考勤信息Dto对象")
public class CourseAttendanceDto {

    @Schema(description  = "考勤Id")
    private String id;

    @Schema(description  = "学生ID")
    @NotBlank(message = "学生ID不能为空")
    private String studentId;

    @NotBlank(message = "课程id不能为空")
    @Schema(description  = "课程id")
    private String courseId;

    @NotBlank(message = "章节id不能为空")
    @Schema(description  = "章节id")
    private String chapterId;

    @NotBlank(message = "课程ID不能为空")
    @Schema(description  = "课程ID")
    private String classId;


    @Schema(description  = "考勤状态")
    private Integer attendanceStatus;

}
